package com.machuxin.course.patterns.single;

/**
 * 枚举类
 */
public enum Singleton5  {

    INSTANCE;
    private Object data;


    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public static final Singleton5 getInstance() {
        return INSTANCE;
    }


}
